package com.bupt.dto.network;


import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode
@Data
public class WdmLinkDto {
    private String id;
    private String name;
    private String code;
    private Node sourceNode;
    private Node targetNode;
    private long length;
    private Integer year;
    private long size;
    private String rate;
    private List<String> baseLinkIds;
    private List<String> baseLinkNames;

    public WdmLinkDto(String id, String name, String code, Node sourceNode, Node targetNode, long length, Integer year,
                      long size, String rate,List<String> baseLinkIds,List<String> baseLinkNames) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.sourceNode = sourceNode;
        this.targetNode = targetNode;
        this.length = length;
        this.year = year;
        this.size = size;
        this.rate = rate;
        this.baseLinkIds=baseLinkIds;
        this.baseLinkNames=baseLinkNames;
    }
}
